<link media="screen" href="<?php echo base_url("appearance/lover/lover.css?v=2014050404");?>" type="text/css" rel="stylesheet">
<div class="content">
 <img src="appearance/lover/tit_beautiful.png" style="margin-bottom:10px;margin-top: 20px;">
	<div class="box_item zhuanti-item">
<!-- <h3 class="lover1 font_hide"></h3>-->	
	<ul class="item_list clearfix">
		<?php if(count($ZhuanTiGoods[0])>0): foreach ($ZhuanTiGoods[0] as $item)://var_dump($item);?>
			<li data-id="<?php echo $item['id'];?>" class="clearfix">
					<a href="javascript:void(0);" onclick="fusion2.nav.open({url:('<?php echo trim($item['goodsUrl']);?>')});return false;" class="item_img_wai" title="<?php echo $item['title']?>">
						<img src="<?php echo $item['picture']?>" alt="" class="item_img" />
					</a>
					<a href="javascript:void(0);" onclick="fusion2.nav.open({url:('<?php echo trim($item['goodsUrl']);?>')});return false;" class="item_intro" title="<?php echo $item['title']?>" ><?php echo $item['title']?></a>		
				</a>
				<div class="price clearfix">
					<?php //else:?>
					<span class="origin_price">原价：<?php echo rtrim(rtrim($item['originalPrice'],"0"),".");?></span>
					<span class="carnival_price">感恩价&nbsp;&yen;<strong><?php echo rtrim(rtrim($item['currentPrice'],"0"),".");?></strong></span>
					<?php //endif;?>
				</div>
				<a class="buy_btn font_hide" href="" data-itemid="" biz-itemid="" onclick="fusion2.nav.open({url:('<?php echo trim($item['goodsUrl']);?>')});return false;" >立即购买&gt</a>
			</li>
		<?php endforeach;endif;?>
		</ul>
	</div>
		<img src="appearance/lover/tit_health.png" alt="" style="margin-bottom:10px;margin-top: 20px;">
	<div class="box_item zhuanti-item">
<!-- <h3 class="lover2 font_hide">浪漫情调</h3> -->
		<ul class="item_list clearfix">
		<?php if(count($ZhuanTiGoods[1])>0): foreach ($ZhuanTiGoods[1] as $item)://var_dump($item);?>
			<li data-id="<?php echo $item['id'];?>" class="clearfix">
					<a href="javascript:void(0);" onclick="fusion2.nav.open({url:('<?php echo trim($item['goodsUrl']);?>')});return false;" class="item_img_wai" title="<?php echo $item['title']?>">
						<img src="<?php echo $item['picture']?>" alt="" class="item_img" />
					</a>
					<a href="javascript:void(0);" onclick="fusion2.nav.open({url:('<?php echo trim($item['goodsUrl']);?>')});return false;" class="item_intro" title="<?php echo $item['title']?>" ><?php echo $item['title']?></a>		
				</a>
				<div class="price clearfix">
					<?php //else:?>
					<span class="origin_price">原价：<?php echo rtrim(rtrim($item['originalPrice'],"0"),".");?></span>
					<span class="carnival_price">感恩价&nbsp;&yen;<strong><?php echo rtrim(rtrim($item['currentPrice'],"0"),".");?></strong></span>
					<?php //endif;?>
				</div>
				<a class="buy_btn font_hide" href="" data-itemid="" biz-itemid="" onclick="fusion2.nav.open({url:('<?php echo trim($item['goodsUrl']);?>')});return false;" >立即购买&gt</a>
			</li>
		<?php endforeach;endif;?>
		</ul>
	</div>
			<img src="appearance/lover/tit_home.png" style="margin-bottom:10px;margin-top: 20px;"/ >
	<div class="box_item zhuanti-item">
<!-- <h3 class="lover3 font_hide">思念温馨</h3> -->
		<ul class="item_list clearfix">
		<?php if(count($ZhuanTiGoods[2])>0): foreach ($ZhuanTiGoods[2] as $item)://var_dump($item);?>
			<li data-id="<?php echo $item['id'];?>" class="clearfix">
					<a href="javascript:void(0);" onclick="fusion2.nav.open({url:('<?php echo trim($item['goodsUrl']);?>')});return false;" class="item_img_wai" title="<?php echo $item['title']?>">
						<img src="<?php echo $item['picture']?>" alt="" class="item_img" />
					</a>
					<a href="javascript:void(0);" onclick="fusion2.nav.open({url:('<?php echo trim($item['goodsUrl']);?>')});return false;" class="item_intro" title="<?php echo $item['title']?>" ><?php echo $item['title']?></a>		
				</a>
				<div class="price clearfix">
					<?php //else:?>
					<span class="origin_price">原价：<?php echo rtrim(rtrim($item['originalPrice'],"0"),".");?></span>
					<span class="carnival_price">感恩价&nbsp;&yen;<strong><?php echo rtrim(rtrim($item['currentPrice'],"0"),".");?></strong></span>
					<?php //endif;?>
				</div>
				<a class="buy_btn font_hide" href="javascript:void(0);"  onclick="fusion2.nav.open({url:('<?php echo trim($item['goodsUrl']);?>')});return false;" >立即购买&gt</a>
			</li>
		<?php endforeach;endif;?>
		</ul>
	</div>
	<!-- <div class="reminder">
		<img src="appearance/lover/reminder.png" alt="情人节不能没有“礼“，特别的爱给特别的你！" />
	</div> -->
</div>
<script type="text/javascript">
	fusion2.canvas.setScroll({ 
		top : 0, 
		left : 0 
	});
	//页面地址
	var __PAGEURL = $(".page_url").val()+"?c=zhuanti&";
	
	$(".zhuanti-item li a").click(function(){
		var _id = $(this).parents('li').data('id');
		$.ajax({
			type: "GET",
			url: __PAGEURL+"m=AjaxGoodsClick",
			data: "id="+_id+"&",
			dataType: "html",
			success: function(rs) {}
		});
	});
	//统计
	statistics("tab-专题");
	
	$(".item_list li").hover(function(){
		$(this).addClass("hovered");
	},function(){
		$(this).removeClass("hovered");
	});
	//获取url参数
	function getArgs() {
		var args = {};
		var query = location.search.substring(1);
		// Get query string
		var pairs = query.split("&");
		// Break at ampersand
		for(var i = 0; i < pairs.length; i++) {
			var pos = pairs[i].indexOf('=');
			// Look for "name=value"
			if (pos == -1) continue;
			// If not found, skip
			var argname = pairs[i].substring(0,pos);// Extract the name
			var value = pairs[i].substring(pos+1);// Extract the value
			value = decodeURIComponent(value);// Decode it, if needed
			args[argname] = value;
			// Store as a property
		}
	    return args;// Return the object
	}
</script>

